package com.yootk.config;

import com.yootk.bean.vo.bean.MessageChannel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ChannelConfig {

    @Bean
    public MessageChannel messageChannel(){
        MessageChannel channel = new MessageChannel() ;
        channel.setHost("sun xian");
        channel.setToken("zheng");

        return channel ;
    }
}
